<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ call_method('setting', 'oa_name')|raw }}</title>
<link rel="stylesheet" href="/public/inspinia/css/bootstrap.min.css"/>
<link rel="stylesheet" href="/public/inspinia/css/style.css"/>
</head>
<body class="gray-bg">
<div class="middle-box text-center loginscreen animated fadeInDown">
    <div>
        <div><h1 class="logo-name">{{ dry_translation('loginTitle') }}</h1></div>
        {% if error %}
            <span class="text-danger">{{ dry_translation(error.messageKey) }}</span>
        {% endif %}
        <form class="m-t" role="form" method="post" action="{{ path('fos_user_security_check') }}">
            <div class="form-group"><input type="text" name="_username" class="form-control" placeholder="{{ dry_translation('username') }}" required="required" value="{{ last_username }}"></div>
            <div class="form-group"><input type="password" name="_password" class="form-control" placeholder="{{ dry_translation('password') }}" required="required"></div>
            <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
            <button type="submit" class="btn btn-primary block full-width m-b">{{ dry_translation('login') }}</button>
        </form>
    </div>
</div>
</body>
</html>
